<?php
/** 
 * $Source: /cvsroot/pn-commerce/pn-commerce/pntemplates/plugins/function.pncUpdateItemInCartLinkUrl.php,v $
 * $Author: pcornelissen $
 * $Revision: 1.3 $
 * $Date: 2003/12/08 12:09:47 $
 *
 * Type: Function
 *
 * creates a link to the cartview including the userid as parameter
 * @param $string string to act on
 * @return string 
 */

function smarty_function_pncUpdateItemInCartLinkUrl($params, &$smarty)
{
    extract($params);

    pnModLoad('pncommerce','user');
    pnModAPILoad('pncommerce','user');

    return pnModAPIFunc ('pncommerce', 'user','pncModURL',
	    				  array( 'Module'   => 'pncommerce',
		    				     'Section'  => 'user',
			    			     'Function' => 'itemedit' ) );
}
?>
